import { Vue } from "vue-property-decorator";
class HelloWorld extends Vue {
   private name: string = ""
    /**
     * undefined 不是响应式的
     * null和"" 都是响应式的
     * @private
     */
    message = null;
    // 声明为组件方法
    helloMethod() {
        console.log('Hello World!');
        console.log(this.name);
    }
}
let obj = {
    name: "dfdf"
}
let helloWorld = new HelloWorld();
// let helloWorld1 = HelloWorld.bind(Vue); 这个不适合
let helloWorldElement = helloWorld["helloMethod"];
let helloWorldElement1 = helloWorldElement.bind(obj);

helloWorldElement1()


console.log();
//# sourceMappingURL=cdf.js.map
